package com.fjxd.order;

import com.fjxd.feign.clients.FlightNumberClient;
import com.fjxd.feign.clients.TicketStoreClient;
import com.fjxd.feign.clients.UserClient;
import com.fjxd.feign.config.DefaultFeignConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author csw
 */
@SpringBootApplication
@EnableFeignClients(basePackageClasses = {UserClient.class, TicketStoreClient.class, FlightNumberClient.class}, defaultConfiguration = DefaultFeignConfiguration.class)
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class);
    }
}
